
import graphviz


# label var	mod1a "Enemy Military Presence Submodel"
# label var	mod1b "Enemy Military Activity Submodel"
# label var	mod1c "Impact of Military Activity Submodel"
# label var	mod1d "Friendly Military Presence Submodel"
# label var	mod1e "Friendly Military Activity Submodel"
# label var	mod1f "Law Enforcement Submodel"
# label var	mod1g "PSDF Activity Submodel"
# label var	mod1h "Enemy Political Presence Submodel"
# label var	mod1i "Enemy Political Activity Submodel"
# label var	mod1j "Administration Submodel"
# label var	mod1k "RD Cadre Submodel"
# label var	mod1l "Information PSYOPS Submodel"
# label var	mod1m "Political Mobilization Submodel"
# label var	mod1n "Public Health Submodel"
# label var	mod1o "Education Submodel"
# label var	mod1p "Social Welfare Submodel"
# label var	mod1q "Development Assistance Submodel"
# label var	mod1r "Economic Activity Submodel"
# label var	mod1s "Land Tenure Submodel"
# 

# In[2]:


dot = graphviz.Digraph(comment='The Round Table')
dot.node('1a')
dot.node('1b')
dot.node('1c')
dot.node('1d')
dot.node('1e')
dot.node('1f')
dot.node('1g')
dot.node('1h')
dot.node('1i')
dot.node('1j')
dot.node('1k')
dot.node('1l')
dot.node('1m')
dot.node('1n')
dot.node('1o')
dot.node('1p')
dot.node('1q')
dot.node('1r')
dot.node('1s')

dot.node('1f~1g')
dot.node('1k~1l')

dot.node('2a')
dot.node('2b')
dot.node('2c')
dot.node('2d')
dot.node('2e')
dot.node('2f')

dot.node('3a')
dot.node('3b')
dot.node('3c')

dot.node('4')


# In[3]:


dot.edge('1a','2a')
dot.edge('1b','2a')
dot.edge('1e','2b')
dot.edge('1d','2b')
dot.edge('1f','1f~1g')
dot.edge('1g','1f~1g')
dot.edge('1f~1g','2b')
dot.edge('1h','2c')
dot.edge('1i','2c')
dot.edge('1j','2d')
dot.edge('1k','1k~1l')
dot.edge('1l','1k~1l')
dot.edge('1k~1l','2d')
dot.edge('1g','2d')
dot.edge('1o','2e')
dot.edge('1n','2e')
dot.edge('1p','2e')
dot.edge('1r','2f')
dot.edge('1q','2f')
dot.edge('1s','2f')

dot.edge('2a','3a')
dot.edge('2b','3a')
dot.edge('1c','3a')
dot.edge('2c','3b')
dot.edge('1m','3b')
dot.edge('2d','3b')
dot.edge('2e','3c')
dot.edge('2f','3c')
dot.edge('3a','4')
dot.edge('3b','4')
dot.edge('3c','4')


# In[4]:


dot.render('Visualization/HES_structure/model_structure')




